﻿using BluntArchitecture.Core;
using BluntArchitecture.Core.DataInterfaces;
using System;
using System.Collections.Generic;

namespace BluntArchitecture.Data
{
    public class CustomerDao : ICustomerDao
    {
        /// <summary>
        /// This is hardcoded in order to keep things simple.  In a real application you could use
        /// whatever data retrieval tool you're comfortable with.
        /// </summary>
        public IList<Customer> GetAllCustomers()
        {
            List<Customer> customers = new List<Customer>();

            Customer customer1 = new Customer(new Guid(), "Customer", "One");
            Customer customer2 = new Customer(new Guid(), "Customer", "Two");
            Customer customer3 = new Customer(new Guid(), "Customer", "Three");

            customers.Add(customer1);
            customers.Add(customer2);
            customers.Add(customer3);

            return customers;
        }
    }
}
